using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class ExpandCalendarRequest : OrganizationRequest
	{
		public Guid CalendarId
		{
			get
			{
				if (base.Parameters.Contains("CalendarId"))
				{
					return (Guid)base.Parameters["CalendarId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["CalendarId"] = value;
			}
		}
		public DateTime Start
		{
			get
			{
				if (base.Parameters.Contains("Start"))
				{
					return (DateTime)base.Parameters["Start"];
				}
				return default(DateTime);
			}
			set
			{
				base.Parameters["Start"] = value;
			}
		}
		public DateTime End
		{
			get
			{
				if (base.Parameters.Contains("End"))
				{
					return (DateTime)base.Parameters["End"];
				}
				return default(DateTime);
			}
			set
			{
				base.Parameters["End"] = value;
			}
		}
		public ExpandCalendarRequest()
		{
			base.RequestName = "ExpandCalendar";
			this.CalendarId = default(Guid);
			this.Start = default(DateTime);
			this.End = default(DateTime);
		}
	}
}
